package com.xueyi.system.seedDetection.domain.dto;

import com.xueyi.system.seedDetection.domain.po.SeedDetectionPo;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 种子种苗检测 数据传输对象
 *
 * @author xueyi
 */
public class SeedDetectionDto extends SeedDetectionPo {

    private static final long serialVersionUID = 1L;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("detectionName", getDetectionName())
            .append("detectionCode", getDetectionCode())
            .append("sampleId", getSampleId())
            .append("sampleName", getSampleName())
            .append("seedId", getSeedId())
            .append("seedName", getSeedName())
            .append("seedType", getSeedType())
            .append("assayType", getAssayType())
            .append("testedBy", getTestedBy())
            .append("contactDetails", getContactDetails())
            .append("detectionResult", getDetectionResult())
            .append("detectionAppendix", getDetectionAppendix())
            .append("unitName", getUnitName())
            .append("num", getNum())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}